/* MePage.module.css */
.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f7fa;
}

.topSection {
  flex: 1;
  padding: 0;
  overflow-y: auto;
  background-color: #f5f7fa;
}

.profileHeader {
  /* display: flex; */
  background-image: url('../img/mebackground.jpg');
  background-size: cover;
  align-items: center;
  padding: 6px 19px;
  color: white;
  height: 145px;
}
.profileContainer {
  display: flex;
  align-items: center;
}
.avatarContainer {
  position: relative;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid white;
}

.profileInfo {
  flex: 1;
  margin-left: 15px;
}

.nameRow {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.nameRow h3 {
  color: white;
  font-size: 18px;
  margin-right: 8px;
}

.gradeIcon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.points {
  color: white;
  font-size: 12px;
}

.moreIcon {
  width: 20px;
  height: 20px;
  margin-left: 76px;
}

.title {
  color: white;
  font-size: 12px;
  opacity: 0.8;
}

.statsContainer {
  border-radius: 10px;
  padding: 6px 28px;
  display: flex;
  justify-content: space-around;
  margin-top: 4%;
}

.statItem {
  text-align: center;
  /* padding: 0 15px; */
  cursor: pointer;
  position: relative;
}

.statNumber {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  margin-bottom: 5px;
}

.statLabel {
  color: #000;
  font-size: 12px;
}

.divider {
  width: 1px;
  background: #7f7777;
  height: 30px;
  margin: auto 0;
}

.featuresGrid {
  width: 87%;
  margin-left: 2.5%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: rgba(247, 247, 245, 0.5);
  padding: 15px;
  margin-top: -22px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.featureItem {
  text-align: center;
  cursor: pointer;
}

.featureIcon img {
  width: 28px;
  height: 28px;
  margin-bottom: 5px;
}

.featureItem p {
  font-size: 12px;
  color: #333;
}

.orderSection {
  background: white;
  border-radius: 8px;
  margin: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.sectionHeader h4 {
  font-size: 16px;
  color: #333;
}

.sectionHeader img {
  width: 16px;
  height: 16px;
}

.orderStatus {
  display: flex;
  justify-content: space-around;
}

.statusItem {
  text-align: center;
}

.statusItem img {
  width: 38px;
  height: 38px;
}

.statusItem p {
  font-size: 12px;
  color: #666;
}

.signSection {
  margin: 15px;
  position: relative;
}

.signBanner {
  width: 100%;
  border-radius: 10px;
  height: 80px;
  display: flex;
  align-items: center;
}

.signBanner img {
  width: 100%;
  height: 150px;
}

.goButton {
  position: absolute;
  right: 15px;
  background: white;
  color: #ff6b6b;
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.signText {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
  text-align: center;
}

.recommendSection {
  margin: 15px;
}

.recommendSection h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.productList {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
}

.productItem {
  min-width: 100px;
  text-align: center;
}

.productItem img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.productItem p {
  font-size: 12px;
  color: #333;
  margin: 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.productItem span {
  font-size: 12px;
  color: #ff6b6b;
  font-weight: bold;
}

/* 底部导航栏 */
/* 黑字 */
.bottom {
  width: 100%;
  height: 9vh;
  position: fixed;
  bottom: 0;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
}

.bottom_item {
  width: 19%;
  height: 8vh;
}

.bottom_item div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom_item img {
  width: 4vh;
  height: 4vh;
  margin-top: 5px;
}

.bottom_item p {
  text-align: center;
  font-size: 14px;
  margin-top: 1px;
}

/* 黑字 */
.bottom_items {
  width: 19%;
  height: 9vh;
}

.bottom_items div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom_items img {
  width: 4vh;
  height: 4vh;
  margin-top: 5px;
}

.bottom_items p {
  color: red;
  text-align: center;
  font-size: 14px;
  margin-top: 1px;
}

/* 打卡 */
.punch {
  width: 19%;
  height: 9vh;
}

.punch div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.punches {
  width: 7vh;
  height: 7vh;
  margin-top: -10px;
  border-radius: 25px;
  background-color: #ffffff;
}

.punchs {
  width: 6vh;
  height: 6vh;
  border-radius: 25px;
  background-color: #e9f4ff;
}

.punch img {
  width: 4.5vh;
  height: 4.5vh;
  margin-top: -2px;
}

.punch p {
  text-align: center;
  font-size: 14px;
}

/* 商品列表 */
/* 瀑布流父元素不要设置高度 */
.shop {
  width: 100%;
  height: auto;
  column-count: 2;
  column-gap: 0;
  margin-bottom: 10vh;
}

.shop_item {
  page-break-inside: avoid;
  break-inside: avoid;
  width: calc(100% - 30px);
  height: auto;
  border-radius: 5px;
  padding: 10px;
  margin-left: 5px;
  margin-top: 1vh;
  background-color: #ffffff;
  box-shadow: 2px 3px 3px rgba(126, 123, 123, 0.1);
}

.shop_item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.shop_item p {
  font-size: 13px;
  text-overflow: ellipsis;
}

.shop_item span {
  width: 80%;
  margin-top: 5px;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 11px;
  color: #8a8a8a;
}

.items {
  margin-top: 5px;
  display: flex;
}

.items p {
  color: red;
  font-size: 10px;
}

.blank {
  margin-top: 50px;
}

.items del {
  color: #8a8a8a;
  font-size: 8px;
  margin-left: 10px;
  display: block;
}
.three {
  width: 100%;
  height: 5vh;
  display: flex;
  font-size: 12px;
  justify-content: center;
  align-items: center;
}
.three img {
  width: 5vw;
  height: 5vw;
}
.three div {
  width: 8vh;
  height: 1.5px;
  margin: 0 10px;
  background-color: #b5b5b5;
  font-size: 14px;
}
